package com.xfatm.simplebrowser.util;

/**
 * Created by wenjie on 2018/3/14.
 */

public class HttpUtils {
    private static final String[] SUPPORT_URL={"http","file"};
    public static boolean isSupportUrl(String url){
        for(String u:SUPPORT_URL){
            if(url.startsWith(u)){
                return true;
            }
        }
        return false;
    }
}
